﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EnCor.Security
{
    public interface ITokenProvider
    {
        string GenerateToken(EnCorIdentity identity);

        EnCorIdentity GetIdentitybyToken(string token);
    }
}
